package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 流动人口变更对象 flo_pop_bg
 * 
 * @author ruoyi
 * @date 2024-10-15
 */
public class FloPopBg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 人口编号 */
    @Excel(name = "人口编号")
    private Long popId;

    /** 户籍所在地址 */
    @Excel(name = "户籍所在地址")
    private String address;

    /** 流入当地时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "流入当地时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date livedate;

    /** 居住事由 */
    @Excel(name = "居住事由")
    private String livereason;

    /** 居住地址 */
    @Excel(name = "居住地址")
    private String liveadress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPopId(Long popId) 
    {
        this.popId = popId;
    }

    public Long getPopId() 
    {
        return popId;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLivedate(Date livedate) 
    {
        this.livedate = livedate;
    }

    public Date getLivedate() 
    {
        return livedate;
    }
    public void setLivereason(String livereason) 
    {
        this.livereason = livereason;
    }

    public String getLivereason() 
    {
        return livereason;
    }
    public void setLiveadress(String liveadress) 
    {
        this.liveadress = liveadress;
    }

    public String getLiveadress() 
    {
        return liveadress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("popId", getPopId())
            .append("address", getAddress())
            .append("livedate", getLivedate())
            .append("livereason", getLivereason())
            .append("liveadress", getLiveadress())
            .append("createTime", getCreateTime())
            .toString();
    }
}
